﻿###################################
# Replication data readme file
###################################

AUTHORS: Harjunen, Oskari, Tuukka Saarimaa and Janne Tukiainen
ARTICLE: "Love Thy (Elected) Neighbor? Residential Segregation, Political Representation and Local Public Goods"
JOURNAL: Journal of Politics
UPDATED: September 6, 2022
CONTACT: janne.tukiainen@utu.fi

SOFTWARE:
STATA (version 17.0) using the following packages:
- reghdfe
- eventstudyinteract

R (version 4.1.3) using the following packages:
- PanelMatch
- readr
- haven

QGIS (version 3.22.7)

DATA:
Data.pdf contains information on how to apply for data used in the paper.

CODEBOOK:
Do-file that contains a listing of variables used to replicate the anayses. 

STATA DO-FILES AND R SCRIPTS TO PRODUCE TABLES AND FIGURES:
- JOP_replication_main_text.do produces tables and figures in the main text
- JOP_replication_online_appendix.do produces tables and figures in the online appendix
- PanelMatch.R produces the input for Figures A4 and A5 in the online appendix
